# D:\Python1\017\8.练习1最终代码.py
num = "90|80|70|60"
new_list = num.split('|')

a = int(new_list[0])
b = int(new_list[1])
c = int(new_list[2])
d = int(new_list[3])
sum = a + b + c + d

av = sum / len(new_list)
print('平均分为:',av)